﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="TeacherPage.aspx.cs" Inherits="UniversityStudentManagemnetSystem.UI.TeacherPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
 <style type="text/css">
        .style4
        {
            width: 118px;
        }
        .style5
        {
            height: 21px;
        }
        #dateText
        {
            height: 17px;
            margin-bottom: 5px;
        }
         .required
        {
            color: red;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div align="center">
<fieldset style="width: 800px; height:600px;">
<div align="center">
<fieldset style="width: 600px; height: 290px;">
    <legend style="text-decoration: blink; color: Navy;">Teacher Entry </legend>
    <table align="center">
    <tr>
    <td>
        <asp:Label ID="Label1" runat="server" Text="Name"></asp:Label>
    </td>
    <td>
        <asp:TextBox ID="nameTextBox" runat="server"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
        <asp:Label ID="Label2" runat="server" Text="Address"></asp:Label>
    </td>
    <td>
        <asp:TextBox ID="addressTextBox" runat="server"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
        <asp:Label ID="Label3" runat="server" Text="Email"></asp:Label>
    </td>
    <td>
        <asp:TextBox ID="emailTextBox" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" CssClass="required" ControlToValidate="emailTextBox" ValidationGroup="vgTeacherPage"></asp:RequiredFieldValidator>
    </td>
    </tr>
    <tr>
    <td>
        <asp:Label ID="Label4" runat="server" Text="Contact No."></asp:Label>
    </td>
    <td>
        <asp:TextBox ID="contactNumberTextBox" runat="server"></asp:TextBox>
    </td>
    </tr>

    <tr>
    <td>
        <asp:Label ID="Label5" runat="server" Text="Designation"></asp:Label>
    </td>
    <td>
    <asp:DropDownList ID="designationDropDownList" runat="server"></asp:DropDownList>    
    </td>
    </tr>

    <tr>
    <td>
        <asp:Label ID="Label6" runat="server" Text="Department"></asp:Label>
    </td>
    <td>
        <asp:DropDownList ID="departmentDropDownList" runat="server"></asp:DropDownList>
    </td>
    </tr>

    <tr>
    <td>
        <asp:Label ID="Label7" runat="server" Text="Assign Credit"></asp:Label>
    </td>
    <td>
        <asp:TextBox ID="assignCreditTextBox" runat="server"></asp:TextBox>
    </td>
    </tr>

    <tr>
    <td>
    
    </td>
    <td>
        <asp:Button ID="teacherSaveButton" runat="server"  Text="Save" onclick="teacherSaveButton_Click" ValidationGroup="vgTeacherPage" />
    </td>
    </tr>
    </table>
       <br />
       <asp:Label ID="teacherSaveMessageLabel" runat="server"></asp:Label>
    </fieldset>
    </div>
    </fieldset>
    </div>
    
</asp:Content>
